// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_PRODUCT_TEHINIC_HISTORY
// * CreateDate    : 2011-10-25 10:44:41
// * Creater       : CodeSmith
// * LastChangeDate: 2011-10-25 10:44:41
// * LastChanger   : 2011-10-25 10:44:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdProductTehinicHistoryTable : TableInfo
    {
		public const string C_TableName = "PROD_PRODUCT_TEHINIC_HISTORY";
		
		public const string C_HISTORY_ID = "HISTORY_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_PRODUCT_TEHINIC_NAME = "PRODUCT_TEHINIC_NAME";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		
		public ProdProductTehinicHistoryTable()
        {
            _tableName = "PROD_PRODUCT_TEHINIC_HISTORY";
        }
		
		protected static ProdProductTehinicHistoryTable _current;
        public static ProdProductTehinicHistoryTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdProductTehinicHistoryTable();

            _current.Add(C_HISTORY_ID, new ColumnInfo(C_HISTORY_ID,"HistoryId", true, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_PRODUCT_TEHINIC_NAME, new ColumnInfo(C_PRODUCT_TEHINIC_NAME,"ProductTehinicName", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
			
		}
		
		public ColumnInfo HISTORY_ID
        {
            get { return this[C_HISTORY_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo PRODUCT_TEHINIC_NAME
        {
            get { return this[C_PRODUCT_TEHINIC_NAME]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		
		
	}
}

